class EndTimeToDuration < ActiveRecord::Migration
  def self.up
    remove_column :pdsessions, :end
    add_column :pdsessions, :duration, :float
  end

  def self.down
    remove_column :pdsessions, :duration
    add_column :pdsessions, :end, :datetime
  end
end
